<?
ob_start();
session_start();
if(!session_is_registered("user"))
/*header("location:home_hrd.php")*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>sppk</title>
<link href="styleadmin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="styleadmin.css" type="text/css" />
<style type="text/css">
<!--
body {
	background-color:  #DDFBF2;
}
.style3 {
	color: #999999;
	font-size: 18;
}
.style4 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style5 {color: #334D55}
.style7 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #334D55; }
-->
</style></head>

<body>
<div id="header">
    <img src="image/logo_kanisius.gif"  />
</div>

 <div id="garishome">
</div>

<div id="contenthome">
     <div id="leftcontenthome">
	 <div id="linksectionhome"><a href="data_pelamar.php">Data Pelamar</a></div>
	 <div id="linksectionhome"><a href="pelamarlolos1.php">Pelamar Lolos 1</a></div>
	 <div id="linksectionhome"> <a href="list_nilai_pelamar.php">Nilai Pelamar</a> </div>
	 <div id="linksectionhome"> <a href="sppk.php">SPPK</a> </div>
<!--	 <div id="linksectionhome"> <a href="tes.php">Tes</a> </div>
	 <div id="linksectionhome"> <a href="syarat.php">Syarat</a> </div>-->
	 <div id="linksectionhome"> <a href="lowongan.php">Lowongan</a> </div>
	 <div id="linksectionhome"><a href="logout.php">Logout</a></div>
	 </div>

<div id="rightcontenthome">
<!--<table width="400" border="0"     cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#999999">Input Calon Karyawan </td>
  </tr>
  <tr>
    <td><table width="470" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="230"><div align="center">Daftar Pelamar </div></td>
        <td width="221"> <div align="center">Calon Karyawan </div></td>
      </tr>
    </table></td>
  </tr>-->
 <!-- <tr>
    <td><table width="400" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="318"><div align="center">
          <form id="form1" name="form1" method="post" action="">
            <label>
              <textarea name="textarea">
			  <?php
			 include "../librari/koneksi.php";
			
			$tampil = "Select nama, nilai_logika, nilai_kacermatan, nilai_kepribadian, nilai_karakter from pelamar order by idPelamar asc";
			$hasil=mysql_query($tampil);
                $no=+1;
                while ($r=mysql_fetch_array($hasil)){

	 echo "
	 	   <td>$r[nama]</td>
		   ";
           
$no++;
}

	
?>-->
		<!--	  </textarea>
              </label>
          </form>
          </div></td>
        <td width="106"><div align="center">
          <form id="form2" name="form2" method="post" action="">
            <label>
              <input type="submit" name="Submit" value="INPUT" />
              </label>
          </form>
          </div></td>
        <td width="319"><div align="center">
          <form id="form3" name="form3" method="post" action="">
            <label>
              <textarea name="textarea2"></textarea>
              </label>
          </form>
          </div></td>
      </tr>
    </table></td>
  </tr>-->
   <?php
			 include "../librari/koneksi.php";
			echo "
	  <table>
	<tr>
	<th>No.</th>
	<th>nama</th>
	<th>logika</th>
	<th>kecermatan</th>
	<th>kepribadian</th>
	<th>karakter</th>
	
	</tr>";
			$tampil = "Select nama, nilai_logika, nilai_kecermatan, nilai_kepribadian, nilai_karakter from pelamar order by idPelamar asc";
			$hasil=mysql_query($tampil);
                $no=+1;
                while ($r=mysql_fetch_array($hasil)){
				/*$lolos="";
				if($r['is_lolos']==1)
					$lolos="checked='checked'";
				else
				$lolos = "";*/	
					
	 echo "
	 	   <tr><td>$no</td>
           <td>$r[nama]</td>
		   <td>$r[nilai_logika]</td>
		   <td>$r[nilai_kecermatan]</td>
		   <td>$r[nilai_kepribadian]</td>
		   <td>$r[nilai_karakter]</td>
		  ";
           
$no++;
}
echo "</table>";
	
?>
    
  <tr>
    <td><table width="400" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <!-- <td><div align="center">
          <form id="form4" name="form4" method="post" action="">
            <label>
              <input type="submit" name="Submit2" value="Kembali" />
              </label>
          </form>
          </div></td>-->
        <td><div align="center">
          <form id="form5" name="form5" method="post" action="hasil.php">
            <label>
              <input type="submit" name="Submit3" value="Proses" />
              </label>
          </form>
          </div></td>
       <!-- <td><div align="center">
          <form id="form6" name="form6" method="post" action="">
            <label>
              <input type="submit" name="Submit4" value="Batal" />
              </label>
          </form>
          </div></td>-->
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<p>&nbsp;</p>
</div>
</div>

</body>
</html>

<?
ob_end_flush();
?>
